BasicTextureShader

Renders vertices with a texture

Shader based upon https://github.com/fogleman/pg/blob/master/pg/programs.py

Constructors

this
this()
Undocumented in source.
this
this(string vert, string frag, string geom)
Undocumented in source.
this
this(Shader vert, Shader frag, Shader geom)
Undocumented in source.

Members

Properties

move
vec4 move [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
myTextureCoordinates
void myTextureCoordinates(VertexArray vao, IBuffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
myVertices
void myVertices(VertexArray vao, IBuffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
scale
mat4 scale [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
transform
mat4 transform [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From ShaderProgram

~this
~this()
Undocumented in source.
attach
void attach(Shader shader, bool linkCall)
Undocumented in source. Be warned that the author may not have intended to support it.
detach
void detach(Shader shader)
Undocumented in source. Be warned that the author may not have intended to support it.
getAttribute
uint getAttribute(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getUniform
uint getUniform(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
id
uint id [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
bind
void bind()
Undocumented in source. Be warned that the author may not have intended to support it.
uniform
void uniform(string name, mat2 value, bool transpose)
Undocumented in source. Be warned that the author may not have intended to support it.
uniform
void uniform(string name, mat3 value, bool transpose)
Undocumented in source. Be warned that the author may not have intended to support it.
uniform
void uniform(string name, mat4 value, bool transpose)
Undocumented in source. Be warned that the author may not have intended to support it.
uniform
void uniform(string name, vec2 value)
Undocumented in source. Be warned that the author may not have intended to support it.
uniform
void uniform(string name, vec3 value)
Undocumented in source. Be warned that the author may not have intended to support it.
uniform
void uniform(string name, vec4 value)
Undocumented in source. Be warned that the author may not have intended to support it.
uniform
void uniform(string name, float[2] value)
Undocumented in source. Be warned that the author may not have intended to support it.
uniform
void uniform(string name, float[4] value)
Undocumented in source. Be warned that the author may not have intended to support it.
uniform
void uniform(string name, bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
uniform
void uniform(string name, int[2] value)
Undocumented in source. Be warned that the author may not have intended to support it.
uniform
void uniform(string name, int[4] value)
Undocumented in source. Be warned that the author may not have intended to support it.
uniform
void uniform(string name, int value)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta